Module-level declarations
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function _mint_npc_avatar(account: account, avatar_dto: npc_avatar_dto, minted_equippables: list<instance>): instance
Link copied to clipboard
function _mint_requested_equippables(equippables: list<text>, npc_account: account, npc_account_id: byte_array, npc_name: text): list<instance>
Link copied to clipboard
function _verify_and_get_npc_account_id(account_id: byte_array, original_id: byte_array): byte_array
Queries
Link copied to clipboard
Link copied to clipboard
@mount("npcs.get_all_owned_npcs")
query get_all_owned_npcs(account_id: byte_array, take: integer, skip: integer): list<npc_dto>
Link copied to clipboard
Link copied to clipboard
@mount("npcs.get_npcs_at")
query get_npcs_at(plot_id: integer, _limit: integer, _offset: integer): list<npc_placeable_dto>
Operations
Link copied to clipboard
@mount("npcs.mint_asset_to_npc")
operation mint_asset_to_npc(prototype_name: text, original_id: byte_array)
Link copied to clipboard
@mount("npcs.mint_branded_npc")
operation mint_branded_npc(name: text, account_id: byte_array, avatar_dto: npc_avatar_dto, provider_id: text)
Link copied to clipboard
@mount("npcs.modify_npc_avatar")
operation modify_npc_avatar(auth_descriptor_id: byte_array, account_id: byte_array, original_id: byte_array, eyes: integer, eyebrows: integer, mouth: integer, skin_color: integer, hair_color: integer, eye_color: integer)
Link copied to clipboard
@mount("npcs.update_equipments_npc_avatar")
operation update_equipments_npc_avatar(account_id: byte_array, auth_descriptor_id: byte_array, original_id: byte_array, equipments: list<byte_array>)